Add/Remove Options using DOM Methods

(index: 0)

(label: Group 2)

(reference: sel.options[2])

(index: 2)

(index: 1)

(reference: sel.options[1])

(index: 0)

(label: Group 2)

The buttons above demonstrate use of the addOptionToSelect and other functions described online.

Back to index for more demos and information.